<?php
namespace php\widgets\editorxml;
use yii\helpers\Html;

class WebImageWidget extends WebWidget{
	public function run(){
		$options = $this->options;
		$shtml = isset($this->value['value']['content']) ? Html::img($this->value['value']['content'], $options) : '';
		return $shtml;
	}
}